package com.lcsc.verification.controller;

import com.lcsc.verification.service.ComparePlanService;
import com.lcsc.verification.vo.ComparePlanVO;
import com.lcsc.verification.vo.PageVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * 校验计划Controller
 *
 * @author liuchuan
 * @date 2018/12/5
 * @Copyright 深圳立创电子商务有限公司
 */
@RestController
@RequestMapping("/verification/plan")
public class ComparePlanController {

    @Autowired
    private ComparePlanService comparePlanService;

    @GetMapping("/page")
    @ResponseBody
    public PageVO page(ComparePlanVO comparePlanVO) {

        return this.comparePlanService.pageComparePlan(comparePlanVO);
    }
}
